﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WCS.Infrastructure.Dto.Common;

namespace WCS.Infrastructure.Dto.Request.Organization
{
    /// <summary>
    /// 批量设置关联成员请求
    /// </summary>
    public class BindMembersRequestDto
    {
        /// <summary>
        /// 商户ID（可选，但建议传入用于幂等校验）
        /// </summary>
        [StringLength(32)]
        public string? MerchantId { get; set; }

        /// <summary>
        /// 门店ID（设置门店关联成员时必传）
        /// </summary>
        [StringLength(32)]
        public string? StoreId { get; set; }

        /// <summary>
        /// 收款码ID（设置收款码关联成员时必传）
        /// </summary>
        [StringLength(32)]
        public string? CodeId { get; set; }

        /// <summary>
        /// 目标成员（Sys_UserRole.Id）列表
        /// </summary>
        public List<string>? UserRoleIds { get; set; } = new List<string>();
    }
}
